﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

			<link rel="stylesheet" type="text/css" href="css/back/header.css" />
			<script type='text/javascript' src="js/back/header.js"></script>
			
			<div id="header">
				<div id="logo">
					<a href="javascript:void()"><img src="img/logo.png" border="0" /></a>
				</div>
				<div id="menu">
					<ul>
						<li id="left" <%if (request.getParameter("item").equals("center")) {%>class="selected"<%}%>>
							<img src="img/back/menu_left.gif" />
						</li>
						<li id="first" <%if (request.getParameter("item").equals("center")) {%>class="selected"<%}%>>
							<a href="admin/index.do" onclick="changeMenu(this)" hideFocus="true">管理中心</a>
						</li>
						<li <%if (request.getParameter("item").equals("book")) {%>class="selected"<%}%>>
							<a href="admin/getBooks.do" onclick="changeMenu(this)" hideFocus="true">书籍管理</a>
						</li>
						<li <%if (request.getParameter("item").equals("order")) {%>class="selected"<%}%>>
							<a href="page/back/order_list.jsp" onclick="changeMenu(this)" hideFocus="true">订单管理</a>
						</li>
						<li id="last" <%if (request.getParameter("item").equals("user")) {%>class="selected"<%}%>>
							<a href="admin/getUsers.do" onclick="changeMenu(this)" hideFocus="true">会员管理</a>
						</li>
						<li id="right" <%if (request.getParameter("item").equals("user")) {%>class="selected"<%}%>>
							<img src="img/back/menu_right.gif" />
						</li>
					</ul>
				</div>
				<span>您好 <b style="color:red"><s:property value="#session.admin.signInName"/></b>，当前身份 <b>管理员</b></span>
			</div>
			<div id="info_bar">
				<span id="logout"><a href="admin/adminLogout.do">退出</a></span>
			</div>